<%@page contentType = "text/html;charset=UTF-8" %>
<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <title>新增生日信息</title>
  <style>
    body {
      height: 800px;
      background-image: url("images/add.png");
      background-repeat: no-repeat;
      background-position: center ;

      display: grid;
      place-items: center;
    }
    div {
      border: 2px solid black;
      background-color: white;
      opacity: 0.7;
      text-align: center;
      font-weight: bold;
      padding: 10px;
    }
    form{
      width: 380px;
    }
    input{
      width: 200px;
    }
  </style>
</head>

<body>
  <div>
    <p>新增生日信息</p>
<%--    这里要加项目名--%>
    <form action="/birth/add/post" method="post">
      <label for="name">姓名：</label><input type="text" id="name" name="name"><br>
      <label for="age">年龄：</label><input type="number" id="age" name="age"><br>
      <label for="birthday">生日：</label><input type="String" id="birthday" name="birthday">
      <br>
      <hr>
      <input type="submit" value="提交">
    </form>
    <hr>
    <form action="/birth/getBirth" method="get">
      <input type="submit" value="返回">
    </form>
  </div>
</body>

</html>